//
//  main.m
//  gay
//
//  Created by apple on 15/8/5.
//  Copyright (c) 2015年 戴维营. All rights reserved.
//

#import <Foundation/Foundation.h>

#import "Button.h"
#import "Button+dispaly.h"

#import "View+Pint.h"
#import "NSObject+Gg.h"


int main(int argc, const char * argv[]) {
    @autoreleasepool
    {
  
#if 0
        Button *p = [[Button alloc] init];
        [p draw];
        [p display];
        
        p = [Button buttonWithType:CircleButtonType];
        
        //多态(Override),子类通过实现父类中同名的方法，从而改变一个继承得来的方法的定义，
        [p draw];
        [p display];
        
        p = [Button buttonWithType:RectangleButtonType];
        [p draw];
        [p display];
#endif
        
        View *p1 = [[View alloc] init];
        [p1 setSize:23];  
        NSLog(@"%d",p1.size);
        
        NSObject *obj = [[NSObject alloc] init];
        [obj Fuck];
        
        obj = [[NSString alloc] init];
        [obj Fuck];
        
    }
    return 0;
}
